package com.guofen.dao;

import com.guofen.pojo.SjqSolidliquidProduceElectricity;
import com.guofen.pojo.SjqSolidliquidProduceEquipmentRunning;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqSolidliquidProduceEquipmentRunningMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqSolidliquidProduceEquipmentRunning record);

    int insertSelective(SjqSolidliquidProduceEquipmentRunning record);

    SjqSolidliquidProduceEquipmentRunning selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqSolidliquidProduceEquipmentRunning record);

    int updateByPrimaryKey(SjqSolidliquidProduceEquipmentRunning record);

    SjqSolidliquidProduceEquipmentRunning getLast(@Param("shift") String shift, @Param("equipment_name") String equipment_name);

    List<SjqSolidliquidProduceEquipmentRunning> getListOnTheDay();

    List<SjqSolidliquidProduceEquipmentRunning> selectAll();

    List<SjqSolidliquidProduceEquipmentRunning> selectByDate(@Param("startDate") String startDate,
                                                        @Param("endDate") String endDate);
}